package com.link.base.base.discount.controller;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.link.base.base.discount.model.Discount;
import com.link.base.base.discount.service.DiscountService;
import com.link.core.basic.controller.BasicController;
import com.link.core.basic.service.BasicService;
import com.link.core.basic.service.KeyGenerateService;

/**
 * @author: 秦学刚
 * @date: 2018-12-21
 * @comments:
 */
@Controller
@RequestMapping("/link/discount")
public class DiscountController extends BasicController<Discount> {
 
    @Resource
    private KeyGenerateService keyGenerateService;

    @Resource
    private DiscountService discountService;

    @Override
    public BasicService<Discount> getBasicService() throws Exception {
        return discountService;
    }     
}
